package com.sample.mykotlin

class Student (var id:  String, var name: String,var sex: String) {

    constructor(id: String, name: String) : this(id, name, sex = "男")

    constructor(id: String) : this(id, "李雷", sex = "男")


    fun show() = println("属性字段: $id $name $sex")

}